<div class="grid_6">
    <div class="tabs tabs_var1">
        <ul class="nav">
            <li class="selected"><a style="width: 100px" href="#car_tab">Find Car</a></li>
            <li><a href="#motorcycle_tab">Find Motorcycle</a></li>
        </ul>
        <div class="clear"></div>
        <div class="tabs_1">
            <div id="car_tab" class="tab-content">
                <div class="inner" style="height:292px; overflow: hidden">
                    <form id="form-main" method="post" action="#">
                        <div class="rowElem">
                            <div class="fleft">
                                <label><strong>Make:</strong></label>
                                <select name="select">
                                    <option value="0" selected>Any Make</option>
                                    <?php foreach ($car_make as $car_make): ?> 
                                        <option value="<?= $car_make->id; ?>"><?= $car_make->make; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                            <div class="fleft marg_left">
                                <label><strong>Model:</strong></label>
                                <select name="select">
                                    <option value="">Any Model</option>
                                </select>
                            </div>                                    
                            <div class="clear"></div>        
                        </div>
                        <div class="rowElem">
                            <div class="fleft">
                                <label><strong>Region:</strong></label>
                                <select name="select">
                                    <option value="">Any Region</option>
                                </select>
                            </div>
                            <div class="fleft marg_left">
                                <label><strong>Body type:</strong></label>
                                <select name="select">
                                    <option value="" selected>Any Type</option>
                                    <?php foreach ($car_body_type as $car_body_type): ?> 
                                        <option value="<?= $car_body_type->slno; ?>"><?= $car_body_type->description; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                            <div class="clear"></div>                                            
                        </div>
                        <div class="rowElem">
                            <div class="fleft">
                                <div class="mini_col fleft">
                                    <label><strong>Min Year:</strong></label>
                                    <select name="select" style="width: 90px;">
                                        <option value="">Min</option>
                                        <option value="">Min</option>
                                        <option value="">Min</option>
                                        <option value="">Min</option>
                                        <option value="">Min</option>
                                        <option value="">Min</option>
                                        <option value="">Min</option>

                                    </select>
                                </div>
                                <div class="mini_col fleft marg_right_zero">
                                    <label><strong>Max Year:</strong></label>
                                    <select name="select" style="width: 90px;">
                                        <option value="">Max</option>
                                    </select>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="fleft marg_left">
                                <label><strong>Budget:</strong></label>
                                <select name="select">
                                    <option value="" selected>Any Budget</option>
                                    <?php foreach ($car_budget as $car_budget): ?> 
                                        <option value="<?= $car_budget->slno; ?>"><?= $car_budget->description; ?></option>
                                    <?php endforeach; ?>
                                </select>
                                <div class="clear"></div>
                            </div>
                            <div class="clear"></div>                                           
                        </div>
                        <div class="rowElem">
                            <div class="fleft">
                                <label><strong>Transmission:</strong></label>
                                <select name="select">
                                    <option value="" selected>Any Transmission</option>
                                    <?php foreach ($car_transmission as $car_transmission): ?> 
                                        <option value="<?= $car_transmission->slno; ?>"><?= $car_transmission->description; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                            <div class="fleft marg_left">
                                <label><strong>Color:</strong></label>
                                <select name="select">
                                    <option value="" selected>Any Color</option>
                                    <?php foreach ($car_color as $car_color): ?> 
                                        <option value="<?= $car_color->slno; ?>"><?= $car_color->description; ?></option>
                                    <?php endforeach; ?>
                                </select>
                            </div>
                            <div class="clear"></div>
                            <a onClick="document.getElementById('form-main').submit()" class="inline-block button_search color_1 bold"><span class="inline-block">Search</span></a>
                        </div>
                    </form>
                </div>
            </div>

            <div id="motorcycle_tab" class="tab-content">
                <div class="inner">
                    two Wheeler Tab
                </div>
            </div>
        </div>
    </div>
</div> <!-- GRID_6 END HERE -->